﻿using System.Collections.Generic;
using Kratos.Framework.ContentManagement.Models.SystemRights;
using Kratos.Framework.Infrastructures;

namespace Kratos.Framework.Modules.Core.Services
{
    public interface IActionPermissionService
    {
        IEnumerable<ActionPermission> GetAllSystemActions();

        PageList<ActionPermission> GetByPage(int pageIndex, int pageSize);

        bool IsExistActionPermission(ActionPermission model);

        void Save(ActionPermission model);

        void Delete(ActionPermission model);

        void ResetCache();
    }
}
